class person:
    def __init__(self,name,age):
        self.name=name
        self.age=age
    def get_(self):
        print(self.name+"'"+'s','age','is',self.age,'.')
    def set_a(self,age):
        self.age=age
    def set_n(self,name):
        self.name=name
name,age=input().split()
p1=person(name,age)
name,age=input().split()
p2=person(name,age)
p1.get_()
p2.get_()
name=input()
p1.set_n(name)
age=input()
p1.set_a(age)
p1.get_()
